package com.cn.lycss.service;

import com.cn.lycss.dao.CompanyDao;
import com.cn.lycss.model.CompanyModel;

public class CompanyService {
    public CompanyModel getCompanyModel() {
        CompanyDao companyDao=new CompanyDao();
        CompanyModel companyModel=new CompanyModel();
        companyModel.setLogo(companyDao.logo);
        companyModel.setPhone(companyDao.phone);
        companyModel.setLinePhone(companyDao.linePhone);
        companyModel.setAddress(companyDao.address);companyModel.setEmail(companyDao.email);
        companyModel.setVersion(companyDao.version);
        return companyModel;
    }
}
